EXTIP = 121.40.147.189
build:
	oc project im
	oc create -f template.yaml
	oc process talkserver -v APPLICATION_NAME=talk001 SERVERID=100001 EXTIP=$(EXTIP) APIIP="phpim.qiyunxin.svc.cluster.local:8080" WEBSOCKET_NODE_PORT=30000 SOCKET_NODE_PORT=30001 TALK_NODE_PORT=30002 IN_NODE_PORT=30003 REDISIP=redis.im.svc.cluster.local REDISPORT=6379 NETADAPTER=eth0 CONTROLLERHOSTNAME=talkcontroller-service.im.svc.cluster.local | oc create -f -
uninstall:
	oc project im
	oc delete -f template.yaml
	oc delete dc/talk001
	oc delete svc/talk001
